import request from '@/utils/request'

// 获取菜单
export function getMenuApi(data) {
  return request({
    url: 'rights',
    method: 'get',
    params: data
  })
}

// 跨域测试
export function crossTestApi({ params }) {
  return request({
    url: '/api/mmdb/movie/v3/list/hot.json',
    method: 'get',
    params: params
  })
}
// const params = {
//   ct: '广州',
//   ci: 20,
//   channelId: 4,
// }
// crossTestApi({params})
